package org.lennon.demo.ddd.ticket.factory;

import org.lennon.demo.ddd.ticket.aggregate.Ticket;

public class TicketFactory {

    /**
     *
     * @param userId
     * @param amount
     * @return
     */
    public static Ticket create(Long userId, Integer amount) {
        return new Ticket(null, userId, amount);
    }
}
